import request from '@/utils/request'

// 查询采购品入场检验列表
export function listInspect(query) {
  return request({
    url: '/TPurchaseEntryQuality/TPurchaseEntryQuality/list',
    method: 'get',
    params: query
  })
}

// 查询采购品入场检验详细
export function getInspect(id) {
  return request({
    url: '/TPurchaseEntryQuality/TPurchaseEntryQuality/' + id,
    method: 'get'
  })
}

// 修改采购品入场检验
export function updateInspect(data) {
  return request({
    url: '/TPurchaseEntryQuality/TPurchaseEntryQuality',
    method: 'put',
    data
  })
}

// 删除采购品入场检验
export function delInspect(id) {
  return request({
    url: '/erp/auxiliaryConsumablesType/' + id,
    method: 'delete'
  })
}
